<!doctype html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>参数列表-参数添加</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8"/>
    <link rel="stylesheet" href="../../../assets/css/font.css">
    <link rel="stylesheet" href="../../../assets/css/xadmin.css">
    <style>
        .layui-form textarea{min-height: 60px;}
    </style>
</head>
<body>
<div class="x-nav">
      <span class="layui-breadcrumb">
          <a href="../../index/welcome.html">首页</a>
          <a><cite>系统管理</cite></a>
          <a href="configList.html">参数列表</a>
          <a><cite><script>document.write(location.search.indexOf("id")>0?"修改参数":"新增参数");</script></cite></a>
      </span>
    <a class="layui-btn layui-btn-sm layui-btn-normal" style="line-height:1.6em;margin-top:4px;float:right"
       href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
</div>
<div class="x-body">
    <fieldset class="layui-elem-field layui-field-title">
        <legend><script>document.write(location.search.indexOf("id")>0?"修改参数":"新增参数");</script></legend>
    </fieldset>
    <form id="formForm" style="width: 500px" class="layui-form" action="">
        <input type="hidden" name="id">
        <div class="layui-form-item">
            <label class="layui-form-label">参数名</label>
            <div class="layui-input-block">
                <input type="text" name="paramKey" id="paramKey" lay-verify="paramKey" class="layui-input"/><span class="red">此参数名称新增后不允许修改</span>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">参数值</label>
            <div class="layui-input-block">
                <input type="text" name="paramValue" lay-verify="paramValue" class="layui-input"/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea name="remark" class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn layui-btn-normal layui-btn-sm" lay-submit="" lay-filter="formSubmitFilter">保存</button>
                <button type="button" class="layui-btn layui-btn-primary layui-btn-sm" onclick="location.href='configList.html'">取消</button>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="../../../assets/js/lib.js"></script>
<script type="text/javascript" src="configForm.js"></script>
<script>

</script>
</body>
</html>
